package string;


public class RemovePalindromicSubsequences1332 {
    public int removePalindromeSub(String s) {
        StringBuilder sb = new StringBuilder(s);
        if(s.equals(sb.reverse().toString())){
            return 1;
        }else {
            return 2;
        }
    }
}
